package main

import (
	"encoding/json"
	"fmt"
	"log"
)

type Account12 struct {
	Email    string  `json:"email"`
	Password string  `json:"password"`
	Money    float64 `json:"money,string"`
}

var jsonString12 string = `{
    "email":"123",
    "password":"123",
    "money":"100.5"
}`

func main() {

	account := Account12{}

	err := json.Unmarshal([]byte(jsonString12), &account)
	if err != nil {
		log.Fatalln(err)
	}
	fmt.Printf("%+v\n", account)
}
